package com.pattern.objectcreator.builder;

/**
 * @author yangguanzan
 * @date 3/28/22
 * @description
 */
public class FullDecorationBuilder extends BaseDecorationBuilder {
    private BaseParlor parlor;

    public FullDecorationBuilder() {
        parlor = new FullParlor();
    }

    @Override
    void buildTV() {
        this.parlor.setTv("60寸大电视和欧式电视柜");
    }

    @Override
    void buildWall() {
        this.parlor.setWall("瓷砖贴满墙");
    }

    @Override
    void buildSofa() {
        this.parlor.setSofa("8米长真皮沙发");
    }

    @Override
    BaseParlor getResult() {
        return this.parlor;
    }
}
